"""""
for循环遍历
"""
food_list = ["苹果","香蕉","橘子","芒果","西瓜"]
for item in food_list :
    print("遍历到的元素",item)
""""
range()索引遍历
"""
for i in range(len(food_list)) :
    print(f"索引为{i}的元素为：{food_list[i]}")
""""
enumerate()遍历
"""
for index,item in enumerate(food_list) :
    print(f"索引为{index}的元素为：{item}")